// styles/mixins.scss
// Flex 布局混合
@mixin flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

@mixin flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

// 文字截断混合
@mixin text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// 盒子阴影混合
@mixin box-shadow($shadow: $box-shadow) {
  box-shadow: $shadow;
}

// 圆角混合
@mixin border-radius($radius: $border-radius) {
  border-radius: $radius;
  overflow: hidden;
}